package com.entity;

import java.util.Date;

public class SysUser {
    private Integer id;//主键
    private Integer updateId;//更新人
    private String thirdId;//第三方ID
    private String address;//地址
    private Date createTime;//创建时间
    private Date endTime;//结束时间
    private Integer usertype;//类型//select/1,管理员,2,普通用户,3,前台用户,4,第三方用户
    private String remark;//说明
    private Integer createSiteId;//创建站点ID
    private String realname;//真实姓名
    private String titleUrl;//头像地址
    private String password;//密码
    private Date updateTime;//更新时间
    private Integer createId;//创建者
    private Integer roleId;//角色ID
    private String roleName;//角色名字
    private String tel;//手机号
    private String theme;//主题
    private Integer state;//状态
    private String email;//email
    private Integer backSiteId;//后台选择站点ID
    private String username;//用户名/11111

    public SysUser() {
    }

    public SysUser(String username) {
        this.username = username;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getThirdId() {
        return thirdId;
    }

    public void setThirdId(String thirdId) {
        this.thirdId = thirdId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getUsertype() {
        return usertype;
    }

    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCreateSiteId() {
        return createSiteId;
    }

    public void setCreateSiteId(Integer createSiteId) {
        this.createSiteId = createSiteId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getTitleUrl() {
        return titleUrl;
    }

    public void setTitleUrl(String titleUrl) {
        this.titleUrl = titleUrl;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getBackSiteId() {
        return backSiteId;
    }

    public void setBackSiteId(Integer backSiteId) {
        this.backSiteId = backSiteId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", updateId=" + updateId +
                ", thirdId='" + thirdId + '\'' +
                ", address='" + address + '\'' +
                ", createTime=" + createTime +
                ", endTime=" + endTime +
                ", usertype=" + usertype +
                ", remark='" + remark + '\'' +
                ", createSiteId=" + createSiteId +
                ", realname='" + realname + '\'' +
                ", titleUrl='" + titleUrl + '\'' +
                ", password='" + password + '\'' +
                ", updateTime=" + updateTime +
                ", createId=" + createId +
                ", roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", tel='" + tel + '\'' +
                ", theme='" + theme + '\'' +
                ", state=" + state +
                ", email='" + email + '\'' +
                ", backSiteId=" + backSiteId +
                ", username='" + username + '\'' +
                '}';
    }
}
